package com.uplift.mgt.building.dao;

import com.uplift.mgt.building.model.BuildingModel;
import com.uplift.mgt.building.model.RealtyInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface BuildingMapper {
	public List<Map<String, Object>> selectBuilding(BuildingModel buildingModel);
	public List<Map<String, Object>> selectBuildingEqual(BuildingModel buildingModel);

	/**
	 * 新增物业信息
	 * @param buildingModel
	 * @return
	 */
	public int insertBuilding(BuildingModel buildingModel);

	/**
	 * 更新物业信息
	 * @param buildingModel
	 * @return
	 */
	public int updateBuilding(BuildingModel buildingModel);
}
